package io.renren.common.vo.output;

import io.renren.modules.avanotes.entity.SpecialSubjectEntity;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: xiaomi
 * @date: 2022/2/20
 * @description:
 */
@Data
public class SpecialSubjectVo extends SpecialSubjectEntity {

    private Integer value;

    private String label;

    private List<SpecialSubjectVo> children = new ArrayList<>();


    public void init(){
        this.value = this.getId();
        this.label = this.getName();
    }
}
